package edu.dgut.bbssystem.pojo;

import java.io.Serializable;
import java.util.Date;

public class Notice  implements Serializable {
    private Integer noticeId;//公告ID

    private String noticeContent;//公告内容

    private Integer publisherId;//发公告的用户ID

    private Date publishTime;//发布时间

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent == null ? null : noticeContent.trim();
    }

    public Integer getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(Integer publisherId) {
        this.publisherId = publisherId;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }
}